package site.wlwsjsx.iot_backend.service;

import site.wlwsjsx.iot_backend.service.exception.ServiceException;

public interface ReceiveService {
    /**
     * 处理从物联网平台接收到的消息
     *
     * @param msg 消息内容，JSON字符串
     * @throws ServiceException 处理消息时发生错误
     */
    void dealMessageFromJson(String msg) throws ServiceException;
}
